import sun.cn.common.cacheDto.proxy.ServiceProxy;

import java.lang.reflect.Method;

public class PrintProxy extends ServiceProxy {

    @Override
    public String getProxyName() {
        return "printProxy";
    }

    @Override
    public Object executor(Object[] args, Method method, Object proxyObj) {
        try {
            System.out.println(getProxyName());
            return method.invoke(proxyObj, args);
        }catch(Exception e){

        }
        return null;
    }

}
